<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--<!DOCTYPE html>--%>
<%--<html>--%>
<%--<head>--%>
<%--<meta charset="UTF-8">--%>
<%--<title>新建流程</title>--%>
<%--</head>--%>
<%--<body>--%>
<div class="body-main">
    <div style="display: none;">
        <input id="generalType" value="${generalType}"/>
    </div>
    <form id="flowCreate" action="">
        <table class="add-table form-table">
            <tr>
                <th><span class="required">证书类型：</span></th>
                <td>
                    <select class="select-style" name="certificateType" id="certificateType" onchange="loadCertificateType('240px','#certificateType','${generalType}',1,'#certificateSpecialtys',0,'#certificateLevel')">
                        <option value="">请选择</option>
                    </select>
                </td>
            </tr>
            <tr>
                <th><span class="required">证书专业：</span></th>
                <td>
                    <div class="layui-input-inline">
                        <select class="select-style" id="certificateSpecialtys"
                                style="width:240px">
                            <option value="">请先选择证书类型</option>
                        </select>
                    </div>
                </td>
            </tr>
            <tr>
                <th><span class="required">证书等级：</span></th>
                <td>
                    <div class="layui-input-inline">
                        <select class="select-style" name="certificateLevel" id="certificateLevel" style="width:240px">
                            <option value="">请先选择证书类型</option>
                        </select>
                    </div>
                </td>
            </tr>
            <tr>
                <th><span class="required">匹配周期：</span></th>
                <td>
                    <label class="input-unit">
                        <input type="number" class="input-style" name="matchingTime"/>
                        <span class="unit">天</span>
                    </label>
                </td>
            </tr>
            <tr>
                <th><span class="required">工作日/自然日：</span></th>
                <td>
                    <select class="select-style" name="isNatureWorkDay">
                        <option value="1">工作日</option>
                        <option value="2">自然日</option>
                    </select>
                </td>
            </tr>
            <tr>
                <th><span class="required">扣罚数量</span></th>
                <td>
                    <label class="input-unit">
                        <input type="number" class="input-style" name="punishCount"/>
                    </label>
                </td>
            </tr>
            <tr>
                <th><span class="required">扣罚单位</span></th>
                <td>
                    <select class="select-style" name="unit">
                        <option value="1">金额</option>
                        <option value="2">操行分</option>
                    </select>
                </td>
            </tr>
        </table>
    </form>
</div>
<script type="text/javascript"
        src="${basePath}/static/js/zzsc/common/dgg.verify.js?v=${version}"></script>
<script src="${rootUrl}/static/js/zzsc/fine_edit_page.js?v=${version}"></script>
<script type="text/javascript">

    //属性初始化
    $(function () {
        loadCertificateType('240px', '#certificateType', $("#generalType").val(), 0);
    });

</script>
</body>
</html>
